home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / SAT 2.4.0 / SAT / Add-ons / Storage / SettingsStubs.p < prev   
Encoding:
Text File  |  1995-09-14  |  808 b   |  30 lines  |  [TEXT/PJMM]

  1. {*** This copy of SettingsStubs modified for <your project here>! ***}
  2.  
  3. {========================================}
  4. {============= Setting handling  ==============}
  5. {========================================}
  6.  
  7. {SettingsStubs is the non-reusable part of the Settings unit in the SAT Add-ons.}
  8. {You should make a copy for your project and modify it to suit your needs.}
  9. {You can change the first key, number of keys, dialog resource number, and add new fields as needed.}
  10.  
  11. unit SettingsStubs;
  12. interface
  13.  
  14.     const
  15.         kNumKeys = 4;
  16.         kFirstKeyItem = 3; {Dialog item number}
  17.         kKeysDlogRes = 128;
  18.  
  19.     type
  20.         SettingsRec = record
  21. {Insert fields here}
  22.  
  23.                 key: array[1..kNumKeys] of Char;
  24.                 keyCode: array[1..kNumKeys] of Integer;
  25.             end;
  26.         SettingsPtr = ^SettingsRec;
  27.         SettingsHnd = ^SettingsPtr;
  28.  
  29. implementation
  30. end.